﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Ch.Admin.Bfs.Sms.Sdmx.Extension.CodeBook.Meta
{
    // Summary:
    //     Provides data for a cancelable event.
    public class ModuleBookEventArgs : EventArgs
    {
        // Summary:
        //     Initializes a new instance of the System.ComponentModel.CancelEventArgs class
        //     with empty FullId.
        public ModuleBookEventArgs()
        {
            FullId = string.Empty;
            ContentModuleType = TableOfContents.Overview;
        }
       
        //
        // Summary:
        //     Initializes a new instance of the System.ComponentModel.CancelEventArgs class
        //     with maintenable artefact specified with full ID and book usage module
        //
        public ModuleBookEventArgs(string maintenableFullId, TableOfContents tocModule)
        {
            FullId = maintenableFullId;
            ContentModuleType = tocModule;
        }

        // Summary:
        //     Gets or sets a value indicating the maintenable artefact fullId.
        //
        // Returns:
        //     the full Id.
        public string FullId { get; set; }
        public TableOfContents ContentModuleType { get; set; }
    }

}
